package com.hl.card.modular.pack.service;

import com.hl.card.common.util.ResponseObject;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

import javax.servlet.http.HttpServletRequest;

/**
 * java类简单作用描述
 *
 * @ProjectName: distdev
 * @Package: com.hl.card.modular.pack.controller
 * @ClassName: ${TYPE_NAME}
 * @Description: java类作用描述
 * @Author: 作者姓名
 * @CreateDate: 2018/7/9 17:45
 * @UpdateUser: Neil.Zhou
 * @UpdateDate: 2018/7/9 17:45
 * @UpdateRemark: The modified content
 * @Version: 1.0
 * <p>Copyright: Copyright (c) 2018</p>
 */
@FeignClient("card-package-award")
public interface ManualRewardByTrans {
    @PostMapping(value = "/api/manualAward/reward")
    public ResponseObject userReward(@RequestParam("userId") String userId, @RequestParam("parentCode") String parentCode, @RequestParam("prodCode") String prodCode, @RequestParam("amount") String amount, @RequestParam("count") String count, @RequestParam("optId") String optId, @RequestParam("clientIP") String clientIP, @RequestParam("account") String account);

    @PostMapping(value = "/api/manual/rewardByPhone")
    public ResponseObject rewardByPhone(@RequestParam("mobile") String mobile, @RequestParam("parentCode") String parentCode, @RequestParam("prodCode") String prodCode, @RequestParam("amount") String amount, @RequestParam("count") String count, @RequestParam("optId") String optId, @RequestParam("clientIP") String clientIP, @RequestParam("account") String account);
}
